<%@page import="edu.scu.declaresys.config.IAttrName"%>
<%@page import="edu.scu.declaresys.vo.*"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	News news = (News)request.getAttribute(IAttrName.NEWS_VO);
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>公告信息</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" href="css/comm.css" type="text/css"></link>
<link rel="stylesheet" href="css/detail.css" type="text/css"></link>
</head>
<body>
	<jsp:include page="/jsp/template/pageHead.jsp"></jsp:include>
	<div>新闻--&gt;详细信息</div>
	<div class="news_detail">
	<%
		if(news != null)
		{
	%>
		<div class="news_title">
			<h1><%=news.getTitle() %></h1>
		</div>
		<div class="news_time"><%=news.getNewsClass().getName()%>&nbsp;&nbsp;<%=news.getPublishTime()%></div>
		<div class="news_content">
			<p class="content_style">
			<%=news.getContent()%>
			</p>
		</div>
	<%
	   }
	   else
	   {
	   		out.println("新闻未找到");
	   }
	 %>
	</div>
</body>
</html>
